package com.domian.news.models;

/**
 * 博客实体类
 * Created by hhj on 2016-06-21.
 */
public class Blog {
    //文章id
    private String blogId;
    //文章标题
    private String blogTitle;
    //文章概要
    private String blogSummary;
    //更新时间
    private String blogPublished;
    //博主昵称
    private String authorName;
    //博主头像地址
    private String authorAvatar;
    //博主博客地址
    private String authorUri;
    //博文链接
    private String blogLink;
    //博文评论数
    private String blogComments;
    //博文浏览数
    private String blogViews;
    //博文推荐数
    private String blogDiggs;

    public Blog() {
    }

    public Blog(String blogId, String blogTitle, String blogSummary, String blogPublished, String authorName, String authorAvatar, String authorUri, String blogLink, String blogComments, String blogViews, String blogDiggs) {
        this.blogId = blogId;
        this.blogTitle = blogTitle;
        this.blogSummary = blogSummary;
        this.blogPublished = blogPublished;
        this.authorName = authorName;
        this.authorAvatar = authorAvatar;
        this.authorUri = authorUri;
        this.blogLink = blogLink;
        this.blogComments = blogComments;
        this.blogViews = blogViews;
        this.blogDiggs = blogDiggs;
    }

    public String getBlogId() {
        return blogId;
    }

    public void setBlogId(String blogId) {
        this.blogId = blogId;
    }

    public String getBlogTitle() {
        return blogTitle;
    }

    public void setBlogTitle(String blogTitle) {
        this.blogTitle = blogTitle;
    }

    public String getBlogSummary() {
        return blogSummary;
    }

    public void setBlogSummary(String blogSummary) {
        this.blogSummary = blogSummary;
    }

    public String getBlogPublished() {
        return blogPublished;
    }

    public void setBlogPublished(String blogPublished) {
        this.blogPublished = blogPublished;
    }

    public String getAuthorName() {
        return authorName;
    }

    public void setAuthorName(String authorName) {
        this.authorName = authorName;
    }

    public String getAuthorAvatar() {
        return authorAvatar;
    }

    public void setAuthorAvatar(String authorAvatar) {
        this.authorAvatar = authorAvatar;
    }

    public String getAuthorUri() {
        return authorUri;
    }

    public void setAuthorUri(String authorUri) {
        this.authorUri = authorUri;
    }

    public String getBlogLink() {
        return blogLink;
    }

    public void setBlogLink(String blogLink) {
        this.blogLink = blogLink;
    }

    public String getBlogComments() {
        return blogComments;
    }

    public void setBlogComments(String blogComments) {
        this.blogComments = blogComments;
    }

    public String getBlogViews() {
        return blogViews;
    }

    public void setBlogViews(String blogViews) {
        this.blogViews = blogViews;
    }

    public String getBlogDiggs() {
        return blogDiggs;
    }

    public void setBlogDiggs(String blogDiggs) {
        this.blogDiggs = blogDiggs;
    }

    @Override
    public String toString() {
        return "Blog{" +
                "blogId='" + blogId + '\'' +
                ", blogTitle='" + blogTitle + '\'' +
                ", blogSummary='" + blogSummary + '\'' +
                ", blogPublished='" + blogPublished + '\'' +
                ", authorName='" + authorName + '\'' +
                ", authorAvatar='" + authorAvatar + '\'' +
                ", authorUri='" + authorUri + '\'' +
                ", blogLink='" + blogLink + '\'' +
                ", blogComments='" + blogComments + '\'' +
                ", blogViews='" + blogViews + '\'' +
                ", blogDiggs='" + blogDiggs + '\'' +
                '}';
    }
}
